﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserAddrList.aspx.cs" Inherits="Maticsoft.Web.UserAddrList" %>
<%@ Register Src="Header2.ascx" TagName="Header2" TagPrefix="uc1" %>
<%@ Register Src="footer.ascx" TagName="footer" TagPrefix="uc2" %>
<%@ Register src="UserLeft.ascx" tagname="UserLeft" tagprefix="uc3" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>会员中心</title>
    <link rel="stylesheet" href="css/reset.css" />
    <link rel="stylesheet" href="css/common.css" />
</head>
<body>
    <form id="form1" runat="server">
    <uc1:Header2 ID="Header21" runat="server" />
    <div class="row bg-gray" style="padding: 20px 0;">
        <div class="safe_width">
            <uc3:UserLeft ID="UserLeft1" runat="server" />
            <div class="right-cont">
                <div class="men-cen-tit mar-btm-10">
                    <a class="active" href="JavaScript:void(0);">地址列表</a>
                </div>
                <div class="borderbox">
                    <div class="tablebox">
                        <table>
                            <thead>
                                <tr>
                                    <th style="width:80px">
                                        姓名
                                    </th>
                                    <th>
                                        详细地址
                                    </th>
                                    <th style="width:160px">
                                        邮编
                                    </th>
                                    <th style="width:160px">
                                        手机
                                    </th>
                                    <th style="width:80px">
                                        操作
                                    </th>
                                </tr>
                            </thead>
                            <tbody>
                                <asp:Repeater ID="Repeater1" runat="server">
                                <ItemTemplate>
                                <tr>
                                    <td class="fs-12 tc-gray">
                                        <%#Eval("Name")%>
                                    </td>
                                    <td class="fs-12 tc-black" align="left">
                                        <%#GetLocation(Eval("LocationId"))+" "+ Eval("Address")%>
                                    </td>
                                    <td class="fs-12 tc-black" align="left">
                                        <%#Eval("PostCode")%>
                                    </td>
                                    <td class="fs-12 tc-red">
                                        <%#Eval("Mobile")%>
                                    </td>
                                    <td class="fs-12 tc-black">
                                        <a href="UserAddrEdit.aspx?id=<%#Eval("DeliveryId") %>">修改</a> <a href="UserAddrList.aspx?op=del&id=<%#Eval("DeliveryId") %>">删除</a>
                                    </td>
                                </tr>
                                </ItemTemplate>
                                </asp:Repeater>

                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="page-no" style="padding: 30px 0;">
                    <webdiyer:AspNetPager ID="AspNetPager1" CssClass="pages" 
                    CurrentPageButtonClass="cpb" runat="server" UrlPaging="true" 
                    HorizontalAlign="center" PageSize="16" EnableTheming="true" 
                    onpagechanging="AspNetPager1_PageChanging">
                </webdiyer:AspNetPager>
                </div>
            </div>
        </div>
    </div>
    <uc2:footer ID="footer1" runat="server" />
    </form>
</body>
</html>
